/* map.h - simple associative container API */

#ifndef MAP_H_
#define MAP_H_
#include <stdlib.h>

typedef int (*TMapCompare)(void* A, size_t ALen, void* B, size_t BLen);

typedef struct  MAP_
    {
    int         Dummy_;
    }   MAP_, *MAP;

MAP     MapCreate(TMapCompare Compare);
void*   MapFind(MAP Map, void* Key, size_t KeyLen);
void*   MapAdd(MAP Map, void* Key, size_t KeyLen, void* Value);


#endif /* MAP_H_ */
